package recallin.social.twitter;

import recallin.activities.R;
import android.app.Dialog;
import android.content.Context;
import android.content.Intent;
import android.view.View;
import android.view.Window;
import android.widget.Button;

public class TwitterLoginButton extends Dialog{

	private Button login;

	public TwitterLoginButton(Context context) {
		super(context);
		this.requestWindowFeature(Window.FEATURE_NO_TITLE);
        this.setContentView(R.layout.twitter_login_btn);
        
        login = (Button) this
				.findViewById(R.id.twitter_login);
        
        login.setOnClickListener(new View.OnClickListener() {
			public void onClick(View v) {
				Intent i = new Intent(getContext(),
						PrepareRequestTokenActivity.class);
				getContext().startActivity(i);
			}
		});
        
	}

}
